High Contrast: don't hardcode a font-size on the switch
authorLapo Calamandrei <calamandrei@gmail.com>
Fri, 18 Mar 2016 18:10:36 +0000 (19:10 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Fri, 18 Mar 2016 18:10:36 +0000 (19:10 +0100)
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index a890179996a7e38107794dce7203aa3632fe6dc9..e65f24d3d4925bac4670a46faeab6d04e1d58376 100644 (file)
@@ -1962,7 +1962,9 @@ treeview ~ scrollbar.vertical {
  **********/
 
 switch {
-    font: bold condensed 9;
+    font-size: smaller;
+    font-stretch: condensed;
+    font-weight: bold;
     outline-offset: -4px;
     // similar to the .scale
     border-width: 1px;
index bf886305c3a64d6fc499eb1c3f8c4121d598b2d8..244a13337215d649e23aef3468486f2ae4e1d374 100644 (file)
@@ -2043,7 +2043,9 @@ treeview ~ scrollbar.vertical {
  * Switch *
  **********/
 switch {
-  font: bold condensed 9;
+  font-size: smaller;
+  font-stretch: condensed;
+  font-weight: bold;
   outline-offset: -4px;
   border-width: 1px;
   border-style: solid;
index e72e21a03919bc1fe7299d4d2c603b0ea4120d5c..53799b6157dda25bde75957d7c10474ff050aeea 100644 (file)
@@ -2047,7 +2047,9 @@ treeview ~ scrollbar.vertical {
  * Switch *
  **********/
 switch {
-  font: bold condensed 9;
+  font-size: smaller;
+  font-stretch: condensed;
+  font-weight: bold;
   outline-offset: -4px;
   border-width: 1px;
   border-style: solid;